package top.aigoo.project01.mapper;

import org.apache.ibatis.annotations.Param;
import top.aigoo.project01.entity.ProductSellDaily;
import top.aigoo.project01.entity.UserAwardMap;

import java.util.Date;
import java.util.List;

/**
 * @Description: 请填写该类完成的功能
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/9/28 22:21
 */
public interface ProductSellDailyMapper {
    /**
     * 通过条件查询,列表
     */
    List<ProductSellDaily> queryProductSellDailyList(
            @Param("productSellDailyCondition") ProductSellDaily productSellDailyCondition,
            @Param("beginTime") Date beginTime,
            @Param("endTime") Date endTime);

    /**
     * 统计平台所有商品的日销售量
     */
    int insertProductSellDaily();
}
